package com.ljx.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ljx.common.ResponseResult;
import com.ljx.domain.dto.UserDto;
import com.ljx.domain.entity.User;


/**
 * 用户表(User)表服务接口
 *
 * @author makejava
 * @since 2023-04-19 16:58:39
 */
public interface UserService extends IService<User> {

    ResponseResult getUser();

    ResponseResult updateUser(User user);

    ResponseResult register(User user);

    ResponseResult listAll(Integer pageNum, Integer pageSize, String userName, String phonenumber, String status);

    ResponseResult getUserOne(Long id);

    void saveUser(UserDto user);

    void updateUserById(UserDto user);
}
